package com.sl.au.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
/**
 * 销售降库
 */
@Entity
@Table(name="sl_crm_inventoryReduce")
public class InventoryReduce extends Root {

	
	/**关联细目设备 */
	@ManyToOne
	private QuoteDevice quoteDevice;
	/**关联占库人 user*/
	@ManyToOne
	private User user;
   /**呆滞库Id*/
	@Column(name="sInventoryDullId")
	private String inventoryDullId;
	/**图号*/
	@Column(name="sFigureNum")
	private String figureNum;
	/**名称*/
	@Column(name="sName")
	private String name;
	/**材料*/
	@Column(name="sMaterial")
	private String material;
	/**数量*/
	@Column(name="nNumber")
	private int number;
	/**单位*/
	@Column(name="sUnit")
	private String unit;
	/**产品类型 */
	@Column(name="sProductType")
	private String productType;
	/**功率*/
	@Column(name="sPower")
	private String power;
	/**粘度*/
	@Column(name="sViscosity")
	private String viscosity;
	/**过流材质 */
	@Column(name="sFlowMaterial")
	private String flowMaterial;
	/**传输介质 */
	@Column(name="sTransMedia")
	private String transMedia;
	/**比重 */
	@Column(name="sProportion")
	private String proportion ;
	/**有效气蚀余量 */
	@Column(name="sEffectiveNPSHA")
	private String effectiveNPSHA;
	/**流量 */
	@Column(name="sFlux")
	private String flux;
	/**温度 */
	@Column(name="sTemperature")
	private String temperature;
	/**必须气蚀余量 */
	@Column(name="sMustMPSHA")
	private String mustMPSHA;
	/**扬程*/
	@Column(name="sPumpLift")
	private String pumpLift;
	/**入口压力 */
	@Column(name="sInPressure")
	private String inPressure;
	/**报价*/
	@Column(name="nUnitPrice")
	private float unitPrice;
	/**原价*/
	@Column(name = "nCostPrice")
	private float costPrice;
	
	/**占库周期*/
	//开始时间
	@Column(name="dStartDate")
	@Temporal(TemporalType.TIMESTAMP)
	private Date startDate;
	//结束时间
	@Column(name="dEndDate")
	@Temporal(TemporalType.TIMESTAMP)
	private Date endDate;
	
	public QuoteDevice getQuoteDevice() {
		return quoteDevice;
	}
	public void setQuoteDevice(QuoteDevice quoteDevice) {
		this.quoteDevice = quoteDevice;
	}
	public String getInventoryDullId() {
		return inventoryDullId;
	}
	public void setInventoryDullId(String inventoryDullId) {
		this.inventoryDullId = inventoryDullId;
	}
	public String getProductType() {
		return productType;
	}
	public void setProductType(String productType) {
		this.productType = productType;
	}
	public String getPower() {
		return power;
	}
	public void setPower(String power) {
		this.power = power;
	}
	public String getViscosity() {
		return viscosity;
	}
	public void setViscosity(String viscosity) {
		this.viscosity = viscosity;
	}
	public String getFlowMaterial() {
		return flowMaterial;
	}
	public void setFlowMaterial(String flowMaterial) {
		this.flowMaterial = flowMaterial;
	}
	public String getTransMedia() {
		return transMedia;
	}
	public void setTransMedia(String transMedia) {
		this.transMedia = transMedia;
	}
	public String getProportion() {
		return proportion;
	}
	public void setProportion(String proportion) {
		this.proportion = proportion;
	}
	public String getEffectiveNPSHA() {
		return effectiveNPSHA;
	}
	public void setEffectiveNPSHA(String effectiveNPSHA) {
		this.effectiveNPSHA = effectiveNPSHA;
	}
	public String getMustMPSHA() {
		return mustMPSHA;
	}
	public void setMustMPSHA(String mustMPSHA) {
		this.mustMPSHA = mustMPSHA;
	}
	public String getFlux() {
		return flux;
	}
	public void setFlux(String flux) {
		this.flux = flux;
	}
	public String getTemperature() {
		return temperature;
	}
	public void setTemperature(String temperature) {
		this.temperature = temperature;
	}

	public String getPumpLift() {
		return pumpLift;
	}
	public void setPumpLift(String pumpLift) {
		this.pumpLift = pumpLift;
	}
	public String getInPressure() {
		return inPressure;
	}
	public void setInPressure(String inPressure) {
		this.inPressure = inPressure;
	}
	public float getUnitPrice() {
		return unitPrice;
	}
	public void setUnitPrice(float unitPrice) {
		this.unitPrice = unitPrice;
	}
	public String getFigureNum() {
		return figureNum;
	}
	public void setFigureNum(String figureNum) {
		this.figureNum = figureNum;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getMaterial() {
		return material;
	}
	public void setMaterial(String material) {
		this.material = material;
	}
	public int getNumber() {
		return number;
	}
	public void setNumber(int number) {
		this.number = number;
	}
	public Date getStartDate() {
		return startDate;
	}
	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}
	public Date getEndDate() {
		return endDate;
	}
	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public float getCostPrice() {
		return costPrice;
	}
	public void setCostPrice(float costPrice) {
		this.costPrice = costPrice;
	}
	public String getUnit() {
		return unit;
	}
	public void setUnit(String unit) {
		this.unit = unit;
	}
	
}
